/**
 * 操作日志操作类型
 */
export enum E_LOG_ACTION {
  /**
   * 所有
   */
  ALL,

  /**
   * 添加
   */
  INSERT,

  /**
   * 修改
   */
  UPDATE,

  /**
   * 删除
   */
  DELETE,
  /**
   * 批量添加
   */
  BATCH_INSERT,
  BATCH_UPDATE,
  BATCH_DELETE
}

export const LogActionOptions: LabelValue[] = [
  { label: '全部', value: String(E_LOG_ACTION.ALL) },
  { label: '添加', value: String(E_LOG_ACTION.INSERT) },
  { label: '修改', value: String(E_LOG_ACTION.UPDATE) },
  { label: '删除', value: String(E_LOG_ACTION.DELETE) },
  { label: '批量添加', value: String(E_LOG_ACTION.BATCH_INSERT) },
  { label: '批量修改', value: String(E_LOG_ACTION.BATCH_UPDATE) },
  { label: '批量删除', value: String(E_LOG_ACTION.BATCH_DELETE) }
]
